home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung 2 / Power-Programmierung CD 2 (Tewi)(1994).iso / gnu / djgpp / contrib / dvx / inc / x11 / xaw / template.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-07-15  |  1.3 KB  |  48 lines

  1. #include <X11/copyright.h>
  2.  
  3. /* $XConsortium: Template.h,v 1.4 89/07/21 01:41:49 kit Exp $ */
  4. /* Copyright    Massachusetts Institute of Technology    1987, 1988 */
  5.  
  6. #ifndef _Template_h
  7. #define _Template_h
  8.  
  9. /****************************************************************
  10.  *
  11.  * Template widget
  12.  *
  13.  ****************************************************************/
  14.  
  15. /* Resources:
  16.  
  17.  Name             Class        RepType        Default Value
  18.  ----             -----        -------        -------------
  19.  background         Background        Pixel        XtDefaultBackground
  20.  border             BorderColor    Pixel        XtDefaultForeground
  21.  borderWidth         BorderWidth    Dimension    1
  22.  destroyCallback     Callback        Pointer        NULL
  23.  height             Height        Dimension    0
  24.  mappedWhenManaged   MappedWhenManaged    Boolean        True
  25.  sensitive         Sensitive        Boolean        True
  26.  width             Width        Dimension    0
  27.  x             Position        Position    0
  28.  y             Position        Position    0
  29.  
  30. */
  31.  
  32. /* define any special resource names here that are not in <X11/StringDefs.h> */
  33.  
  34. #define XtNtemplateResource "templateResource"
  35.  
  36. #define XtCTemplateResource "TemplateResource"
  37.  
  38. /* declare specific TemplateWidget class and instance datatypes */
  39.  
  40. typedef struct _TemplateClassRec*    TemplateWidgetClass;
  41. typedef struct _TemplateRec*        TemplateWidget;
  42.  
  43. /* declare the class constant */
  44.  
  45. extern WidgetClass templateWidgetClass;
  46.  
  47. #endif /* _Template_h */
  48.